package chances.mock.model;

public class MsgResponse {

    private long msgId;
    protected String resCode;
    protected String resDesc;
    protected String content;

    public long getMsgId() {
        return msgId;
    }

    public void setMsgId(long msgId) {
        this.msgId = msgId;
    }

    public String getResCode() {
        return resCode;
    }

    public String getResDesc() {
        return resDesc;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public void setResDesc(String resDesc) {
        this.resDesc = resDesc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("{\"msgid\":").append(this.getMsgId()).append(",\"res_code\":").append(this.getResCode())
                .append(",\"res_desc\":\"").append(this.getResDesc()).append("\"}");
        return sb.toString();
    }

}
